<script setup>
   import Header from '@/components/Header.vue';
   import Aside from '@/components/Aside.vue';
</script>

<template>
    <div class="common-layout">
        <el-container>
            <!-- 头部 -->
            <el-header><Header></Header></el-header>
            <el-container>
                <!-- 侧边栏 -->
                <el-aside width="200px"><Aside></Aside></el-aside>
                <!-- 主体区域 -->
                <el-main>
                    <!--index的子路由指定的组件渲染位置 -->
                    <RouterView></RouterView>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<style scoped>

</style>
